vsersion=$1
script_path="$( cd "$(dirname $BASH_SOURCE)" ; pwd -P)"

project_path=${script_path}/..

function setrunEnv() {

	if [[ ${version} = "c75" ]] || [[ ${version} = "C75" ]];then
            export LD_LIBRARY_PATH=
            export LD_LIBRARY_PATH=/home/HwHiAiUser/Ascend/acllib/lib64:/home/HwHiAiUser/ascend_ddk/arm/lib:${LD_LIBRARY_PATH}
            export PYTHONPATH=/home/HwHiAiUser/Ascend/ascend-toolkit/latest/arm64-linux/pyACL/python/site-packages/acl:${PYTHONPATH}
   	 fi
	return 0


}

function main() {

    if [[ ${version}"x" = "x" ]];then
        echo "ERROR: version is invalid"
        return ${inferenceError}
    fi


    # 运行程序

    #python3.6 ${project_path}/i2c.py
    echo "run success"
    return ${success}
}
main

